package com.jn.adapter.classadapter;

/**
 * 适配器类
 *
 * @author 江南大学1033190417
 * @date 2022/4/11 22:41
 */
public class VoltageAdapter extends Voltage220 implements IVoltage5V{
    @Override
    public int output5V() {
        int srcV = output220V();
        int dstV=srcV/44;
        return dstV;
    }
}
